package com.tengju.bff.interfaces.manage.crm.activity.form;

import com.tengju.data.domain.model.clickhouse.crm.UserRole;
import com.tengju.export.domain.record.Query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 团队视角分析查询(服务商区域，经销商社群)
 * @author chenhang
 * @Date 2021/12/25
 */
@Data
@ApiModel(value = "ActivityTeamQuery", description = "活动基本查询Query")
public class ActivityTeamQuery extends ActivityBaseQuery implements Query {

    @ApiModelProperty("目标达成，用户编号或手机号")
    private String userQuery;

    @ApiModelProperty("目标达成区域市场idCode或手机号")
    private String dominationUserQuery;

    @ApiModelProperty("服务商、经销商看板，用户编号")
    private Long idCode;

    @ApiModelProperty("用户视角（服务商区域团队 or 经销商社群 or sec团队）")
    private UserRole userRole;

    @ApiModelProperty(value = "重点用户")
    private boolean needFocusUser;

    @ApiModelProperty("排序字段")
    private String orderColumn;

    @ApiModelProperty("升序:asc 降序:desc")
    private String orderType;

    @ApiModelProperty(value = "页大小，默认为10")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "页码，默认为1（第一页）")
    private Integer pageIndex = 1;

}
